#ifndef _BOOK_H_
#define _BOOK_H_

#include "..\classlib\cl.h"
#include "disp.h"

// Elf information definitions
#define ELF_NAME             "Standby_Widget"
#define ELF_VERSION          "v1.0"
#define ELF_AUTHOR           "MO_oC"

#define STR_ABOUT            ELF_NAME " " ELF_VERSION "\n\n" \
                             "(c)" ELF_AUTHOR          "\n" \
                                   "zylka mod"         "\n" \
                             __DATE__ "\n\n" __TIME__

// Extra definitions
#define MSG(_str_, _book_) MessageBox(EMPTY_SID,Str2ID(_str_,6,SID_ANY_LEN), \
                           NOIMAGE, 1, 0, _book_)


class CMyBook:public CBook
{
private:
  DISP_OBJ* disp_widget;
  CGuiBase * gui_widget;
  static const PAGE_DESC base_page;
protected:
  ~CMyBook();
public:
  static int TerminateElf(CBook ** pbookmanbook, CMyBook* book);
  static int ShowAuthorInfo(CBook ** pbookmanbook, CMyBook* book);
  static int ReconfigElf(CBook ** pbookmanbook, CMyBook* book);
  CMyBook();
};

#endif
